package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.SmsChannel;
import com.hzhc.vo.SmsChannelVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dongcy
 * @date 2024/6/17 10:59
 * @description SmsChannelMapper
 */
@Mapper
public interface SmsChannelMapper extends BaseMapper<SmsChannel> {

    IPage<SmsChannelVo> getMessageTypeList(Page<SmsChannelVo> page,@Param("vo") SmsChannelVo vo);

    List<SmsChannel> getMsgChannel(SmsChannel channel);

}
